package com.xuebusi.toutiao.admin.api.user.form;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;

@Data
@Validated
public class RegisterForm {
    // 手机号码
    @NotBlank(message = "手机号码不能为空")
    private String mobile;

    // 用户名
    @NotBlank(message = "用户名不能为空")
    private String name;

    // 头像
    private String photo;
}
